package com.ruoyi.iot.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.iot.domain.IotFuncDict;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface IotFuncDictMapper extends BaseMapper<IotFuncDict> {
    @Select("SELECT * FROM iot_func_dict WHERE fun_code = #{funCode}")
    IotFuncDict selectOneByFunCode(@Param("funCode")String funCode);
}
